package com.wxh;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @ClassName: DemoApplication
 * @Description: 整个程序启动类,排除spring security 资源需要登录
 * @Author wxh
 * @Date: 2019/8/14  09:27
 * @Version V1.0.0
 * @Since 1.8
 */
@SpringBootApplication
public class DemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(DemoApplication.class, args);
//		ConfigurableApplicationContext context = SpringApplication.run(DemoApplication.class, args);
//		//获取yml配置转换后的bean
//		System.out.println("----------------------"+context.getBean(PropertiesBean.class));
//		context.close();
	}

}
